﻿@using WaterRevenueMS.WebUI.Extension.MvcHelper
@using WaterRevenueMS.Domain.ViewModels.ReadMeterMS.TaskTemplet
@model TaskGenerateModel

@using (Html.BeginForm("Create", "MeterTaskGenerate", FormMethod.Post, new { @class = "form-horizontal", @id = "modal-content" }))
{
<div class="control-group">
    <label class="control-label-form">
        <label class="red">*</label>任务名称 :
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Ren_WMC, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Ren_WMC)
    </div>
</div>


<div class="control-group">
    <label class="control-label-form">
      抄表年度:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Chao_BND, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Chao_BND)
    </div>
</div>


<div class="control-group">
    <label class="control-label-form">
       抄表月度:
    </label>
    <div class="controls">
        @Html.TextBoxFor(t => t.Chao_BYD, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.Chao_BYD)
    </div>
</div>

<div class="control-group">
    <label class="control-label-form">
       <label class="red">*</label>任务模版:
    </label>
    <div class="controls">
        @Html.DropDownListFor(t => t.TaskTempletId, Model.TaskTemplets, new { @class = "form-control" })
        @Html.ValidationMessageFor(m => m.TaskTempletId)
    </div>
</div>
}